<template>
  <div>
    <MacModal
      :visible="macModal.terminal.visible"
      title="终端"
      :handle-close="() => {
        macModal.terminal.visible = false
      }"
    >
      <Terminal />
    </MacModal>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import MacModal from '@/components/MacModal/index.vue'
// import Terminal from './components/Terminal.vue';
// import Terminal from './components/TerminalAttach.vue';
import Terminal from './components/TerminalSocketIO.vue';
import useMacModalStore from '@/stores/macModal';

const macModal = useMacModalStore()

</script>

<style scoped>

</style>
